package org.jackysoft.entity;

import java.io.Serializable;

public class Resource implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4459470968311361148L;
	private String id;
	private String text;	
	private Boolean leaf;
	private Integer sortNum;
	public Resource() {
	   	super();
	}



	
	
	public Resource(String id, String text,Object sort) {
		super();
		this.id = id;
		this.text = text;	
		this.sortNum = (Integer) sort;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Boolean getLeaf() {
		return leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}





	public Integer getSortNum() {
		return sortNum;
	}





	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}
}
